#include "camera.h"
#include "camerammind.h"
#include "cameratest.h"
#include <mmind/MechEyeApi.h>
#include <opencv2/opencv.hpp>


#include "common_log.h"

Camera::Camera()
{}

Camera::~Camera()
{}

Camera* Camera::GetCameraDevice(const QString& brand)
{
	if (brand == "MMIND") {
		return new CameraMMind();
	} else if (brand == "TEST") {
		return new CameraTest();
	}

	log_error("Brand is error, {}", brand);
	return nullptr;
}
